package com.hm.pan.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.transaction.annotation.Transactional;
import com.hm.pan.model.OfflineHistory;

@Mapper
public interface OfflineHistoryMapper {

	@Transactional
	boolean insertOfflineHistory(OfflineHistory history);

	@Transactional
	boolean updateOfflineHistory(OfflineHistory offlineHistory);

	List<OfflineHistory> findAllOfflineHistory(OfflineHistory offlineHistory);
}
